package ar.org.cfired.expedientes;

import org.jbpm.api.Configuration;
import org.jbpm.api.ExecutionService;

public class EliminarDocumentos {

	public static void main(String[] args) {
    ExecutionService executionSe = new Configuration().buildProcessEngine().getExecutionService();

    for (int i = 17570; i<=17756; i++ )
    	executionSe.deleteProcessInstanceCascade("Expedientes." + i);
    
    System.out.println("OK");
    
    System.exit(0);
  	
	}
}
